<?php
class ModelConfig extends Model {
	private static $vars = array();

	public static function isdef($n) {
		return isset(self::$vars[$n]);
	}

	public static function get($n) {
		return self::isdef($n) ? self::$vars[$n] : null;
	}

	public static function set($n, $v) {
		self::$vars[$n] = $v;
	}
	
	public static function end() {
		@unlink(self::get('cookie'));
	}
}